package com.cl.short_video_java.service;

import com.cl.short_video_java.common.Result;
import com.cl.short_video_java.pojo.AlipayConfig;
import com.cl.short_video_java.pojo.SysSetting;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cl.short_video_java.vo.setting.Alipay;
import com.cl.short_video_java.vo.sys.Setting;
import com.cl.short_video_java.vo.sys.SettingSearch;

import java.util.List;
import java.util.Map;

/**
 * @author object
 * @description 针对表【sys_setting】的数据库操作Service
 * @createDate 2024-10-31 15:58:59
 */
public interface SysSettingService extends IService<SysSetting> {

	String getSysSettingByKey(String key);

	List<SysSetting> search(SettingSearch settingSearch);

	void oper(String key, Integer type);

	Result insertOrUpdate(Setting setting);

	void batchDelete(List<String> list);

	Map<String, String> getAliOssSetting();

	Map<String, AlipayConfig> alipay();

	void save(Alipay alipay);
}
